package com.doufeng.order.dto;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class OrderDTO {
    @NotNull
    private Long userId;
    @NotBlank
    private String serviceType;
    @NotNull
    @Min(1)
    private Integer amount;
    private String address;
    private Double lng;
    private Double lat;
}
